package tpl

const TplAtom = `
{{$opcln := clsname .ParamOut.Classpath}}
package {{package .Classpath}};

import {{.Catagory.Intfabsname}};
import com.psbc.cbcbp.base.inner.InnerRespDTO;
import com.psbc.cbcbp.base.inner.InnerReqDTO;
import com.psbc.cbcbp.context.OrchContext;
import com.psbc.cbcbp.context.OrchContextHolder;
import org.springframework.stereotype.Service;
import java.util.Map;
import {{.ParamIn.Classpath}};
import {{.ParamOut.Classpath}};

@Service
public class {{clsname .Classpath}} implements {{.Catagory.Intfname}}<{{clsname .ParamOut.Classpath}}, {{clsname .ParamIn.Classpath}}>{

	@Override
	public InnerRespDTO<{{clsname .ParamOut.Classpath}}> doAtom(InnerReqDTO<{{clsname .ParamIn.Classpath}}> reqDTO){
		InnerRespDTO<{{clsname .ParamOut.Classpath}}> responseDTO = new InnerRespDTO();
		{{$opcln}} {{lower $opcln}} = new {{$opcln}}();
		try{

		} catch(Exception e) {
			responseDTO.setCode("999999999");
			responseDTO.setMsg("atom exec fail");
		}

		return responseDTO;
	}
}
`
